package com.baseframe.sys.service;

import java.util.List;
import java.util.Map;

import com.baseframe.common.utils.PageUtils;
import com.baseframe.sys.entity.FrameCodeItem;
import com.baseframe.sys.entity.FrameCodeMain;

public interface IFrameCodeService {

    PageUtils queryPage(Map<String, Object> params);

    int deleteBatchIds(List<String> codeGuids);

    int insert(Object obj);

    FrameCodeMain findByCodeName(String codeName);

    /****************************************
     *
     *     代码项子项接口
     *
     ****************************************/
    List<FrameCodeItem> queryItemList(Map<String, Object> params);

    FrameCodeItem findByItemtextAndItemvalueAndCodeguid(String itemText, String itemValue, String codeGuid);

    int deleteItems(List<String> ids);

    int saveAll(List<FrameCodeItem> frameCodeItemList);
}
